Entry
A base Entry for configs.
Performs 8 basic functions
serialize contents
deserialize input
validate updates
correct errors
provide widgets
apply inputs
supply outputs
create instances
Author
fzzyhmstrs
Since
0.2.0
Parameters
T
the non-null type of the Entry stored value
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun deserializeEntry(toml: TomlElement, errorBuilder: MutableList<String>, fieldName: String, flags: Byte): ValidationResult<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun widgetAndTooltipEntry(choicePredicate: ChoiceValidator<T> = ChoiceValidator.any()): ClickableWidget
Link copied to clipboard
abstract fun widgetEntry(choicePredicate: ChoiceValidator<T> = ChoiceValidator.any()): ClickableWidget